using FluentNHibernate.Mapping;
using Munim.Fame.Core.DomainModels;

namespace Munim.Fame.DataAccess.NHibernate.Mapping
{
    public sealed class MemberTypeMap : ClassMap<MemberType>
    {
        public MemberTypeMap()
        {
            Id(m => m.Id);
            Map(m => m.TypeName);
            HasMany(m => m.Members).ExtraLazyLoad();
        }
    }
}